package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物品目录对象 product_category
 * 
 * @author lzp
 * @date 2025-03-12
 */
public class ProductCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品编码 */
    private String productId;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private String type;

    /** 物品种类 */
    @Excel(name = "物品种类")
    private String productName;

    /** 物品父类编码 */
    @Excel(name = "物品父类编码")
    private String parentId;

    /** 物品规格 */
    @Excel(name = "物品规格")
    private String specification;

    /** 单件重量 */
    @Excel(name = "单件重量")
    private String weight;

    /** 单件大小 */
    @Excel(name = "单件大小")
    private String size;

    /** 物品单价 */
    @Excel(name = "物品单价")
    private BigDecimal price;

    /** 包装方式 */
    @Excel(name = "包装方式")
    private String packing;

    /** 原料产地 */
    @Excel(name = "原料产地")
    private String source;

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPacking(String packing) 
    {
        this.packing = packing;
    }

    public String getPacking() 
    {
        return packing;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("type", getType())
            .append("productName", getProductName())
            .append("parentId", getParentId())
            .append("specification", getSpecification())
            .append("weight", getWeight())
            .append("size", getSize())
            .append("price", getPrice())
            .append("packing", getPacking())
            .append("source", getSource())
            .toString();
    }
}
